package com.school.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Carousel {
    private Integer carouselId;
    private String carouselUrl;
    private String redirectUrl;
    private Integer carouselRank;
    private Byte isDeleted;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    private Integer createUser;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    private Integer updateUser;

    public Carousel() {
    }

    public Carousel(Integer carouselId, String carouselUrl, String redirectUrl, Integer carouselRank, Byte isDeleted, Date createTime, Integer createUser, Date updateTime, Integer updateUser) {
        this.carouselId = carouselId;
        this.carouselUrl = carouselUrl;
        this.redirectUrl = redirectUrl;
        this.carouselRank = carouselRank;
        this.isDeleted = isDeleted;
        this.createTime = createTime;
        this.createUser = createUser;
        this.updateTime = updateTime;
        this.updateUser = updateUser;
    }

    /**
     * 获取
     * @return carouselId
     */
    public Integer getCarouselId() {
        return carouselId;
    }

    /**
     * 设置
     * @param carouselId
     */
    public void setCarouselId(Integer carouselId) {
        this.carouselId = carouselId;
    }

    /**
     * 获取
     * @return carouselUrl
     */
    public String getCarouselUrl() {
        return carouselUrl;
    }

    /**
     * 设置
     * @param carouselUrl
     */
    public void setCarouselUrl(String carouselUrl) {
        this.carouselUrl = carouselUrl;
    }

    /**
     * 获取
     * @return redirectUrl
     */
    public String getRedirectUrl() {
        return redirectUrl;
    }

    /**
     * 设置
     * @param redirectUrl
     */
    public void setRedirectUrl(String redirectUrl) {
        this.redirectUrl = redirectUrl;
    }

    /**
     * 获取
     * @return carouselRank
     */
    public Integer getCarouselRank() {
        return carouselRank;
    }

    /**
     * 设置
     * @param carouselRank
     */
    public void setCarouselRank(Integer carouselRank) {
        this.carouselRank = carouselRank;
    }

    /**
     * 获取
     * @return isDeleted
     */
    public Byte getIsDeleted() {
        return isDeleted;
    }

    /**
     * 设置
     * @param isDeleted
     */
    public void setIsDeleted(Byte isDeleted) {
        this.isDeleted = isDeleted;
    }

    /**
     * 获取
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return createUser
     */
    public Integer getCreateUser() {
        return createUser;
    }

    /**
     * 设置
     * @param createUser
     */
    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }

    /**
     * 获取
     * @return updateTime
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取
     * @return updateUser
     */
    public Integer getUpdateUser() {
        return updateUser;
    }

    /**
     * 设置
     * @param updateUser
     */
    public void setUpdateUser(Integer updateUser) {
        this.updateUser = updateUser;
    }

    public String toString() {
        return "Carousel{carouselId = " + carouselId + ", carouselUrl = " + carouselUrl + ", redirectUrl = " + redirectUrl + ", carouselRank = " + carouselRank + ", isDeleted = " + isDeleted + ", createTime = " + createTime + ", createUser = " + createUser + ", updateTime = " + updateTime + ", updateUser = " + updateUser + "}";
    }
}
